package inst.logic.entities;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="AccInfo")
public class AccInfo  implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Long id;
	private String intAccNo;
	private String strAccName;
	private String strServer;
	private String strDatabase;
	private String strUID;
	private String strPWD;
	private String ftpserver;
	private String ftpuid;
	private String ftppwd;
	private String workplace;
	private String ftpport;
	public AccInfo()
	{
	}
    @Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name="intAccNo", length=20)
	public String getIntAccNo() {
		return intAccNo;
	}
	public void setIntAccNo(String intAccNo) {
		this.intAccNo = intAccNo;
	}
	@Column(name="strAccName", length=20)
	public String getStrAccName() {
		return strAccName;
	}
	public void setStrAccName(String strAccName) {
		this.strAccName = strAccName;
	}
	@Column(name="strServer", length=100)
	public String getStrServer() {
		return strServer;
	}
	public void setStrServer(String strServer) {
		this.strServer = strServer;
	}
	@Column(name="strDatabase", length=40)
	public String getStrDatabase() {
		return strDatabase;
	}
	public void setStrDatabase(String strDatabase) {
		this.strDatabase = strDatabase;
	}
	@Column(name="strUID", length=20)
	public String getStrUID() {
		return strUID;
	}
	public void setStrUID(String strUID) {
		this.strUID = strUID;
	}
	@Column(name="strPWD", length=50)
	public String getStrPWD() {
		return strPWD;
	}
	public void setStrPWD(String strPWD) {
		this.strPWD = strPWD;
	}
	@Column(name="ftpserver", length=50)
	public String getFtpserver() {
		return ftpserver;
	}
	public void setFtpserver(String ftpserver) {
		this.ftpserver = ftpserver;
	}
	@Column(name="ftpuid", length=50)
	public String getFtpuid() {
		return ftpuid;
	}
	public void setFtpuid(String ftpuid) {
		this.ftpuid = ftpuid;
	}
	@Column(name="ftppwd", length=50)
	public String getFtppwd() {
		return ftppwd;
	}
	public void setFtppwd(String ftppwd) {
		this.ftppwd = ftppwd;
	}
	@Column(name="workplace", length=50)
	public String getWorkplace() {
		return workplace;
	}
	public void setWorkplace(String workplace) {
		this.workplace = workplace;
	}
	@Column(name="ftpport", length=10)
	public String getFtpport() {
		return ftpport;
	}
	public void setFtpport(String ftpport) {
		this.ftpport = ftpport;
	}
}
